
cc.o:     file format elf64-littleaarch64


Disassembly of section .text:

0000000000000000 <main>:
    int a;
    int b;
};

int main()
{
   0:	a9be7bfd 	stp	x29, x30, [sp, #-32]!
   4:	910003fd 	mov	x29, sp
    struct demo * ptr = &(struct demo){};
   8:	f9000bbf 	str	xzr, [x29, #16]
   c:	910043a0 	add	x0, x29, #0x10
  10:	f9000fa0 	str	x0, [x29, #24]
    ptr->a = 3, ptr->b =4; 
  14:	f9400fa0 	ldr	x0, [x29, #24]
  18:	52800061 	mov	w1, #0x3                   	// #3
  1c:	b9000001 	str	w1, [x0]
  20:	f9400fa0 	ldr	x0, [x29, #24]
  24:	52800081 	mov	w1, #0x4                   	// #4
  28:	b9000401 	str	w1, [x0, #4]
    printf("%d,%d\n",ptr->a, ptr->b);
  2c:	f9400fa0 	ldr	x0, [x29, #24]
  30:	b9400001 	ldr	w1, [x0]
  34:	f9400fa0 	ldr	x0, [x29, #24]
  38:	b9400402 	ldr	w2, [x0, #4]
  3c:	90000000 	adrp	x0, 0 <main>
  40:	91000000 	add	x0, x0, #0x0
  44:	94000000 	bl	0 <printf>
    return 0;
  48:	52800000 	mov	w0, #0x0                   	// #0
}
  4c:	a8c27bfd 	ldp	x29, x30, [sp], #32
  50:	d65f03c0 	ret
